<?php

namespace app\adminapi\validate;

use app\common\validate\BaseValidate;

class ModifyPwdValidate extends BaseValidate
{
    protected $rule = [
        'oldPassword'=>'require',
        'newPassword'=>'require'
    ];

    protected $message = [
        'oldPassword.require'=>'请输入旧密码',
        'newPassword.require'=>'请输入新密码'
    ];
}